using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CognitiveServices.Speech;

namespace english_sentences.Services.Interface
{
    public interface IVoiceService
    {
        public Task<VoiceResult> SynthesizeAsync(string text, string voiceType);
    }

    public class VoiceResult
    {
        public byte[] Bytes { get; set; }

        public long Duration { get; set; }//millisecond
    }
}